//
//  BIDSubPersonalRepairDetailView.h
//  HJGJCommunity
//
//  Created by mal on 2017/6/7.
//  Copyright © 2017年 mal. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BIDShowPhotoView;

@protocol BIDSubPersonalRepairDetailViewDelegate <NSObject>

- (void)callWithPhone:(NSString *)phone;
- (void)showPhotoAtIndex:(NSInteger)index withImgArr:(NSArray *)imgArr;

@end

@interface BIDSubPersonalRepairDetailView : UIView
{
    IBOutlet UILabel *_houseNameLabel;
    IBOutlet UILabel *_phoneLabel;
    IBOutlet UILabel *_faultTypeLabel;
    IBOutlet UILabel *_contentLabel;
    IBOutlet BIDShowPhotoView *_showPhotoView;
    IBOutlet UIView *_containerView;
    IBOutlet UIScrollView *_scrollView;
    IBOutlet NSLayoutConstraint *_heightForContentConstraint;
    IBOutlet NSLayoutConstraint *_heightForShowPhotoViewConstraint;
    IBOutlet NSLayoutConstraint *_heightForContainerViewConstraint;
}

@property (assign, nonatomic) id<BIDSubPersonalRepairDetailViewDelegate> delegate;

- (id)initWithFrame:(CGRect)frame;

- (void)prepareViewWithDic:(NSDictionary *)dic;

@end
